 |
API Documentation
|
|
|
static nkScripts::OutputValue constructor(const nkScripts::DataStack &stack)
Defines an environment in which scripts can execute.
Definition: Environment.h:14
A view over data.
Definition: BufferView.h:18
static void destructor(void *toDestroy)
A function parameter, used within the stack of arguments.
Definition: FunctionParameter.h:25
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
Encompasses the wrapping of nkMemory for Lua.
Definition: Constants.h:7
static void updateEnvironment(nkScripts::Environment *env, const nkMemory::StringView &typeName, const nkMemory::StringView &typeNameUserObject="")
static nkScripts::OutputValue getSize(const nkScripts::DataStack &stack)
static nkScripts::OutputValue getData(const nkScripts::DataStack &stack)
Wraps a nkMemory::BufferCast<T> and offers functions for use in scripting.
Definition: BufferCastWrapper.h:16